package com.everyline.baselibrary.base.viewmodel

import androidx.lifecycle.ViewModel
import com.everyline.baselibrary.callback.livedata.event.EventLiveData
import com.everyline.baselibrary.callback.livedata.event.EventLivePeekData


/**
 *creatd by 天天挂线
 *email:746608431@qq.com
 *on 2020/7/6
 *描述:TODO
 */
open class BaseViewModel : ViewModel() {
    val loadingChange: UiLoadingChange by lazy { UiLoadingChange() }

    inner class UiLoadingChange {
        val showDialog by lazy { EventLivePeekData<String>() }
        val dismissDialog by lazy { EventLivePeekData<Boolean>() }
    }
}